<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>菜单管理</title>
    <link rel="stylesheet" href="/static/component/pear/css/pear.css"/>
    <link rel="stylesheet" href="/static/component/markdown/editor/editormd.min.css" />
    <script src="/static/component/layui/layui.js"></script>
    <script src="/static/component/pear/pear.js"></script>
    <script src="/static/component/pear/module/ruinuo/sortable.js"></script>
    <script src="/static/component/pear/module/ruinuo/xm-select.js"></script>
</head>
<body>

<div class="view_body"></div>
<script type="text/html" id="view_body_data">
    <form class="layui-form" action="">
        <div class="mainBox ruinuo_box {{= form_config.form_label}}">
            <div class="main-container layui-row layui-col-space10 label_con">
                <div class="design-box layui-col-xs12 layui-col-md12 parent_id_box {{#  if(layui.engine_form.PowerField('parent_id')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label">上级</label>
<div class="layui-input-block " data_tag="tree" data_source="admin_menu">
<div  name="parent_id" id="focus_7f9c_1713366111723_70634" type="text" lay-tag="tree"></div>
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 type_box {{#  if(layui.engine_form.PowerField('type')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label layui-form-item-required">类型</label>
<div class="layui-input-block " data_tag="radio" data_source="menu_type">
{{#  layui.each(d.source.menu_type.rows, function(index, item){ }}
<input type="radio"  name="type" id="focus_1c8d_1713365650383_85795" type="text" lay-tag="radio" value="{{= item.value }}" {{#  if(item.value==d.detail.type){ }}checked{{#  } }} title="{{= item.label }}" lay-filter="radio_filter"  lay-tag="radio">
{{#  }); }}
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 title_box {{#  if(layui.engine_form.PowerField('title')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label layui-form-item-required">名称</label>
<div class="layui-input-block " data_tag="input" data_source="">
<input  name="title" id="focus_5d15_1713363819696_32097" type="text" lay-tag="input" autocomplete="off"  value="{{= d.detail.title}}" class="layui-input">
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 icon_box {{#  if(layui.engine_form.PowerField('icon')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label layui-form-item-required">图标</label>
<div class="layui-input-block " data_tag="icon" data_source="">
<input  name="icon" id="focus_833d_1713365767322_89178" type="hidden" readonly lay-tag="icon" autocomplete="off"  value="{{= d.detail.icon}}" class="layui-input">
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 app_box {{#  if(layui.engine_form.PowerField('app')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label">应用</label>
<div class="layui-input-block " data_tag="input" data_source="">
<input  name="app" id="focus_211b_1713365883120_87961" type="text" lay-tag="input" autocomplete="off"  value="{{= d.detail.app}}" class="layui-input">
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 controller_box {{#  if(layui.engine_form.PowerField('controller')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label">控制器</label>
<div class="layui-input-block " data_tag="input" data_source="">
<input  name="controller" id="focus_7a55_1713365884758_51603" type="text" lay-tag="input" autocomplete="off"  value="{{= d.detail.controller}}" class="layui-input">
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 action_box {{#  if(layui.engine_form.PowerField('action')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label">方法</label>
<div class="layui-input-block " data_tag="input" data_source="">
<input  name="action" id="focus_7f59_1713365886203_87191" type="text" lay-tag="input" autocomplete="off"  value="{{= d.detail.action}}" class="layui-input">
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 query_box {{#  if(layui.engine_form.PowerField('query')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label">参数</label>
<div class="layui-input-block " data_tag="input" data_source="">
<input  name="query" id="focus_62d8_1713365887686_34811" type="text" lay-tag="input" autocomplete="off"  value="{{= d.detail.query}}" class="layui-input">
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 href_box {{#  if(layui.engine_form.PowerField('href')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label">外部链接</label>
<div class="layui-input-block " data_tag="input" data_source="">
<input  name="href" id="focus_4e1a_1713365921360_71193" type="text" lay-tag="input" autocomplete="off"  value="{{= d.detail.href}}" class="layui-input">
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 sort_box {{#  if(layui.engine_form.PowerField('sort')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label layui-form-item-required">排序</label>
<div class="layui-input-block " data_tag="number" data_source="">
<input  name="sort" id="focus_88d5_1713365785446_90741" type="number" lay-affix="number" lay-tag="number" autocomplete="off"  value="{{= d.detail.sort}}" class="layui-input">
</div>
</div>

            </div>
        </div>
        <div class="bottom">
            <div class="ruinuo-button-con">
                <button type="button" class="pear-btn pear-btn-primary" onclick="SendForm()">
                    <i class="layui-icon layui-icon-ok"></i>提交
                </button>
                <button type="reset" class="pear-btn">
                    <i class="layui-icon layui-icon-refresh"></i>重置
                </button>
            </div>
        </div>
    </form>
</script>
<script>

    function FormBind()
    {
        layui.engine_form.BindSelect('7f9c_1713366111723_70634','tree','parent_id','admin_menu',2,);
layui.engine_form.BindIcon('833d_1713365767322_89178');

    }
</script>
<script src="/static/js/admin/menu/config.js?t={:time()}"></script>
<script src="/static/component/markdown/editor/editormd.min.js"></script>
<script src="/static/js/admin/menu/form.js?t={:time()}"></script>
<script src="/static/component/pear/module/jQuery.print.js"></script>
</body>
</html>